package cn.android.weblog.domain;


import java.time.LocalDateTime;
import java.util.List;

public class User {

    private Integer userId;

    private String username;

    private String password="123456";

    private String sex;

    private String email;

    private LocalDateTime joinDate;

    private LocalDateTime lastTime;

    private Integer status=1;

    private String avatar;  // 头像

    private Integer deleted=0;

    //关联查询字段
    private Integer registAge;
    private Integer attention;
    private Integer fans;
    private Integer passage;
    private List<Catagory> catagoryName;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public LocalDateTime getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(LocalDateTime joinDate) {
        this.joinDate = joinDate;
    }

    public LocalDateTime getLastTime() {
        return lastTime;
    }

    public void setLastTime(LocalDateTime lastTime) {
        this.lastTime = lastTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getRegistAge() {
        return registAge;
    }

    public void setRegistAge(Integer registAge) {
        this.registAge = registAge;
    }

    public Integer getAttention() {
        return attention;
    }

    public void setAttention(Integer attention) {
        this.attention = attention;
    }

    public Integer getFans() {
        return fans;
    }

    public void setFans(Integer fans) {
        this.fans = fans;
    }

    public Integer getPassage() {
        return passage;
    }

    public void setPassage(Integer passage) {
        this.passage = passage;
    }

    public List<Catagory> getCatagoryName() {
        return catagoryName;
    }

    public void setCatagoryName(List<Catagory> catagoryName) {
        this.catagoryName = catagoryName;
    }
}
